#ifndef cube_h__
#define cube_h__

#include <d3dx9.h>
#include <string>

class Vertex_PNT;

class Cube
{
public:
	Cube(IDirect3DDevice9* device);
	~Cube();

	bool draw(D3DXMATRIX* world,const  D3DMATERIAL9* mtrl, IDirect3DTexture9* texture);
private:
	typedef Vertex_PNT Vertex;

	IDirect3DDevice9*    _device;
	IDirect3DVertexBuffer9*  _vb;
	IDirect3DIndexBuffer9*   _ib;
};


#endif // cube_h__